App\Billingo\WooCommerce\Service\Billingo_Document_Generator D

Total Complexity 175
Dependencies 19
Dependents 2
Total lines 928
Lines of code 634
Logical lines of code 348
Comment lines 96
Methods 27
Properties 5

Methods 27

Method Rating Maintainability Complexity Lines of code
createProductItems()
D
15
69 243
findOrCreatePartner()
A
44 8 44
isCouponForShipping()
A
53 8 23
getNote()
A
53 8 22
collectDocumentData()
A
46 7 35
getFeeVatCode()
A
56 8 18
getShippingVatCode()
A
56 8 18
getCalculatedDateForItem()
S
54 6 19
overrideTaxOnSingleItem()
S
52 5 25
findPartner()
S
54 5 23
make()
S
53 5 21
selectCallback()
S
57 4 15
getPartnerName()
S
62 4 11
resolvePaymentMethod()
S
57 3 18
resolvePaidType()
S
61 3 12
get()
S
69 3 7
overrideTax()
S
65 3 10
isForbidden()
S
66 3 8
hasEraseCode()
S
66 2 8
getShippingCouponVatCode()
S
67 2 8
getProductSku()
S
71 2 6
getVatRateFromCode()
S
71 2 5
getProforma()
S
65 2 9
getInvoice()
S
65 2 9
getDraft()
S
80 1 3
shouldSendEmail()
S
64 1 9
__construct()
S
72 1 5